<template>
<div class="home" ref="park_d" @scroll="scrollEvent">
  <div class="top_heng"></div>
  <div class="main_div">
    <div class="flex flex_c">
      <div class="tab_item" :class="cha=='company'?'active_tab':''" @click="cha='company'">查企业</div>
      <div class="tab_item" :class="cha!='company'?'active_tab':''" @click="cha='park'">查园区</div>
    </div>
    <!-- 搜索  -->
    <div class="flex flex_a ss_div">
      <div class="input_div">
        <img src="~@/assets/ss.png" alt="">
        <input type="tel" v-model="keywords" placeholder="请输入搜索关键词">
        <div class="select_div" v-show="chainList1.length>0">
          <div v-for="(item,index) in chainList1" :key='index' @click="chooseChain(item)">{{item.chain_name}}</div>
        </div>
      </div>
      <div class="btn ss_btn" @click="ss_k">搜索</div>
    </div>
    <div class="ss_hot"><span class="xie_text">热搜：</span> <span class="hot_item" v-for="(item,index) in chainList.slice(0,3)" :key='index' @click="chooseChain(item,'hot')">{{item.chain_name}}</span></div>

    <div class="heng_ccc"></div>

    <div class="flex_sa btn_div flex_w">
      <div class="btn_item" v-for="(item,index) in menuList" :key='index' @click="toPage(item.page)">
        <div class="iconimg" :class="['img'+ index]">
          <img class="img" :src="item.img" alt="">
        </div>
        <div>{{item.name}}</div>
      </div>
    </div>
    
    <div class="heng_ccc"></div>

    <div>
      <div class="title">产业链</div>
      <div class="flex_w chain_list" v-if="chainList.length<=12">
        <div class="chain_item" v-for="(item,index) in chainList" :key='index' @click="toOpen(item)">
          <div class="chain_img">
            <img class="img" :src="item.img" alt="">
          </div>
          <div class="chain_name">{{item.chain_name}}</div>
        </div>
      </div>
      <swiper v-else ref="mySwiper" :options="swiperOptions">
        <swiper-slide v-for="(item,index) in (Math.floor(chainList.length/12)+1)" :key="index">
          <div class="flex_w chain_list">
            <div class="chain_item" v-for="(item1,index1) in chainList.slice(index*12,(index+1)*12)" :key='index1' @click="toOpen(item1)">
              <div class="chain_img">
                <img class="img" :src="item1.img" alt="">
              </div>
              <div class="chain_name">{{item1.chain_name}}</div>
            </div>
          </div>
        </swiper-slide>
        <div class="swiper-pagination"></div>
      </swiper>
    </div>

    <div class="heng_ccc"></div>

    <!-- <div class="project_div">
      <div class="title">热门包装项目</div>
      <div class="more" @click="toPage('zs_proList')">查看更多</div>
      
    </div> -->

    <div class="navbar flex_sa" id='xd' ref="xd" :class="{'is_fixed' : isFixed}">
			<div
				class="item"
				v-for="(item, index) in typeListAll"
				:key="item.id"
				:class="type_index == index ? 'current' : ''"
				@click="typeChange(index)"
			>
				{{ item.type_name }}
			</div>
		</div>

    <van-list class="news_list" 
      v-model="loading0"
      :finished="isfinsh0"
      finished-text="没有更多了"
      v-if="type_index==0"
      @load="getMore1">
      <div class="flex_w project_div">
        <div class="item" v-for="(item,index) in projectList" :key="index" @click="toPro(item.id)">
          <div class="see_div">
            <img class="img" :src="item.thumb||'https://bigdataapi.parkic.com./static/images/dasdsafsaf.jpg'" mode="widthFix"/>
            <div class="see">
              <img class="see_img" src="https://wqq103910.oss-cn-hangzhou.aliyuncs.com/images/4/2020/09/see.png" mode="widthFix"/>{{item.read_num}}
              <img class="see_img m_left" src="https://wqq103910.oss-cn-hangzhou.aliyuncs.com/images/4/2020/09/fx_icon.png" mode="widthFix"/>{{item.share_num}}
            </div>
          </div>
          <div class="city_name" v-if="item.chain_names">{{item.chain_names.split(',')[0]||''}}</div>
          
          <div class="park_name">{{item.name}}</div>
          <div class="add">
            <div class="add_item now">
              <img class="see_img" src="https://wqq103910.oss-cn-hangzhou.aliyuncs.com/images/4/2020/09/add.png" mode="widthFix"/>{{item.city_name}}
            </div>
            <div class="now">{{item.create_time}}</div>
          </div>
        </div>
      </div>
    </van-list>
    <van-list class="news_list" 
      v-model="loading1"
      :finished="isfinsh1"
      finished-text="没有更多了"
      v-if="type_index==1"
     @load="getMore1">
        
      <div class="list_item" v-for="(item,index) in listAll[0]" :key="index" @click="toparkDetail(item)">
        <div class="flex_sb">
          <div class="item_logo" >
            <img :src="item.thumb" alt="">
          </div>
          <div class="info_div">
            <div class="big_t">{{item.park_name}}</div>
            <div class="small_t "><span class="biao_div">{{item.level_name}} </span> </div>
          </div>
          <div class="fen_div">{{item.type_name}}</div>
        </div>
        <div class="xx_info">{{item.prime_mover_industry}}</div>
        <div class="small_t line_text"><img src="~@/assets/address.png" alt=""> {{item.address}}</div>
      </div>
    </van-list>
     <van-list class="news_list" 
      v-model="loading2"
      :finished="isfinsh2"
      finished-text="没有更多了"
      v-if="type_index==2"
      @load="getMore1">
      <div  class="list_item" v-for="(item,index) in listAll[1]" :key="index" @click="toDetail(item)">
        <div class="flex_sb">
          <div class="item_logo" >
            <img :src="item.logo" alt="">
          </div>
          <div class="info_div">
            <div class="big_t">{{item.company_name}}</div>
            <div class="small_t line_text"><img src="~@/assets/address.png" alt=""> {{item.address}}</div>
            <div class="small_t ">{{item.register_time_str}} <span class="biao_div">成立</span> </div>
          </div>
          <div class="fen_div">{{item.score}}</div>
        </div>
        <div class="big_t m_b4">法人代表：{{item.legal}}</div>
        <div class="big_t">注册资金：{{item.register_money || '-'}}</div>
      </div>
    </van-list>
    <van-list class="news_list" 
      v-model="loading3"
      :finished="isfinsh3"
      finished-text="没有更多了"
      v-if="type_index==3"
      @load="getMore1">
      <div class="item_p" v-for="(item,index) in listAll[2]" :key='index' @click="toPDetail(item)">
        <div class="name1">
          <div class="name">{{item.policy_name}}</div>
          <div class="info">{{item.type_name}}｜{{item.expense_type}}</div>
          <div class="" style="text-align: right; color: #ff9933; font-size: 14px;" v-if="item.from">{{item.from}}</div>
        </div>
      </div>
    </van-list>
  </div>
  <tabbar-div current="0" />
</div>
</template>
<script>
import { myIndustrychain ,GetUserOrPlatformBigChain,localprojects ,policy,companylist,parklist} from '@/api/api'
import img1 from '@/assets/img1.png'
import img2 from '@/assets/img2.png'
import img3 from '@/assets/img3.png'
import img4 from '@/assets/img4.png'
import tabbarDiv from '@/components/tabber.vue'
import SwiperCore, {Autoplay,Pagination,Navigation} from 'swiper';
SwiperCore.use([Autoplay,Pagination,Navigation]);
import {debounce} from '@/utils/utils.js'
export default {
  data(){
    return{
      cha:'company',
      chainList:[],
      chainList1:[],
      keywords:'',
      item:{chain_name:''},
      menuList:[
        {name:'企业库',img:img1,page:'companyList'},
        {name:'园区库',img:img1,page:'parkList'},
        {name:'招商项目',img:img2,page:'zs_proList'},
        {name:'投资项目',img:img3,page:'proList'},
        {name:'政策库',img:img4,page:'pList'},
        {name:'线索池',img:img2,page:'zs_xs'},
        {name:'资金池',img:img3,page:'zjc'},
        {name:'人才池',img:img4,page:'rcc'},
      ],
      swiperOptions: {
        slidesPerView: 1.15,//显示个数
        reversDirection:true,
        observer:true,//修改swiper自己或子元素时，自动初始化swiper 
　　    observeParents:true,//修改swiper的父元素时，自动初始化swiper 
        freeMode: true,
        speed:500,
        loop:true,
      },
      projectList:[],
      typeListAll:[
        {type_name:'项目',id:1},
        {type_name:'园区',id:2},
        {type_name:'企业',id:3},
        {type_name:'政策',id:4},
      ],
      type_index:0,
      listAll:[[],[],[],[],[]],
      pageL:[1,1,1,1,1],
      isfinsh0:false,
      isfinsh1:false,
      isfinsh2:false,
      isfinsh3:false,
      loading0:false,
      loading1:false,
      loading2:false,
      loading3:false,
      top:0,
      isFixed:false
    }
  },
  components:{
    tabbarDiv
  },
  watch:{
    'keywords':function(val){
      if(val&&val!=this.item.chain_name){
        this.getChain()
      }else{
        this.chainList1=[]
      }
    }
  },
  activated(){
    this.$refs.park_d.scrollTop =  this.top 
  },
  created(){
    if(localStorage.allChain){
      this.chainList = JSON.parse(localStorage.allChain)
    }else{
      myIndustrychain({id:localStorage.IndexId}).then(res=>{
        this.chainList = res.data
        localStorage.allChain = JSON.stringify(this.chainList)

        let chain = JSON.parse(JSON.stringify(this.chainList))
        chain.unshift({chain_name:'不限',id:''})
        chain.forEach(item=>{
          item.text = item.chain_name
          item.value = item.id
        })
        localStorage.chainList = JSON.stringify(chain)
      })
    }
    this.getPro()
    this.getClist()
    this.getC()
    this.getAllZc()
  },
  mounted(){
    setTimeout(()=>{
      this.top1 = this.$refs.xd.offsetTop
    },1500)
  },
  methods:{
    scrollEvent(){
      if(this.top1==0){
        return
      }
      this.isFixed = (this.$refs.park_d.scrollTop >= this.top1)?true:false
      if(this.$refs.park_d.scrollTop + this.$refs.park_d.clientHeight + 60 >this.$refs.park_d.scrollHeight){
        debounce(this.getMore1,500)
      }
    },
    getChain(){
      GetUserOrPlatformBigChain({id:localStorage.IndexId,keywords:this.keywords}).then(res=>{
        this.chainList1 = res.data.data
      })
    },
    chooseChain(item,type){
      this.item = item
      this.chainList1 = []
      if(type=='hot'){
        this.ss()
        return
      }
      this.keywords = item.chain_name
      this.ss()
    },
    ss(){
      if(this.cha=='company'){
        this.$router.push({name:'companyList',query:{chainItem:JSON.stringify(this.item)}})
      }else{
        this.$router.push({name:'parkList',query:{chainItem:JSON.stringify(this.item)}})
      }
    },
    ss_k(){
      if(this.cha=='company'){
        this.$router.push({name:'companyList',query:{keywords:this.keywords}})
      }else{
        this.$router.push({name:'parkList',query:{keywords:this.keywords}})
      }
    },
    toPage(page){
      this.$router.push(page)
    },
    toOpen(item){
      myIndustrychain({chain_id:item.id}).then(res=>{
        item.children=res.data	
        this.$router.push({name:'chainDetail',query:{chain:JSON.stringify(item)}})
      })
    },
    toPro(id){
      this.top = this.$refs.park_d.scrollTop 
      this.$router.push({name:'zs_proDetail',query:{id}})
    },
    getPro(){
      let page = this.pageL[0]
      this.loading0 = true
      localprojects.getList({page}).then(res=>{
        this.loading0 = true
        if(page==1){
          this.projectList = res.data.data
        }else{
          this.projectList.push(...res.data.data)
        }
        if(page == res.data.last_page){
          this.isfinsh0 = true
        }
        console.log(res.data)
      })
    },
    typeChange(index) {
      if(index == this.type_index){
        return
      }
      this.$refs.park_d.scrollTop = this.top1
      
      this.type_index = index
      this.$nextTick(()=>{
        if(index==1 && this.listAll[0].length==0){
          this.getClist()
        }
        if(index==2 && this.listAll[1].length==0){
          this.getC()
        }
        if(index==3 && this.listAll[2].length==0){
          this.getAllZc()
        }
      })
    },
    getMore1(){
      // 模拟分页请求 (加载更多)
      this.pageL[this.type_index] +=1
      if(this.type_index==0){
        if(this.isfinsh0){
          return
        }
        this.getPro()
      }
      if(this.type_index==1){
        if(this.isfinsh1){
          return
        }
        this.getClist()
      }
      if(this.type_index==2){
        if(this.isfinsh2){
          return
        }
        this.getC()
      }
      if(this.type_index==3){
        if(this.isfinsh3){
          return
        }
        this.getAllZc()
      }
    },
    getClist(){
      let page = this.pageL[1]
      this.loading1 = true
      parklist({page,city_id:localStorage.myCity_id}).then(res=>{
        this.loading1 = true
        if(page==1){
          this.listAll[0] = res.data.data
          this.listAll.push({})
          this.listAll.pop()
        }else{
          this.listAll[0].push(...res.data.data)
          this.listAll.push({})
          this.listAll.pop()
        }
        if(page == res.data.last_page){
          this.isfinsh1 = true
        }
      })
    },
    getC(){
      let page = this.pageL[2]
      this.loading2=true
      companylist({page,city_id:localStorage.myCity_id}).then(res=>{
        res.data.data.forEach(item=>{
          item.chain_name = item.chain_name.length>0?item.chain_name.split(',').slice(0,3):''
        })
        if(page==1){
          this.listAll[1] = res.data.data
          this.listAll.push({})
          this.listAll.pop()
        }else{
          this.listAll[1].push(...res.data.data)
          this.listAll.push({})
          this.listAll.pop()
        }
        if(this.listAll[1].length == res.data.total){
          this.isfinsh2= true
        }else{
          this.isfinsh2= false
        }
        this.loading2=false
      })
    },
    getAllZc(){
      let page = this.pageL[3]
      this.loading3=true
      policy.getList({page,city_id:localStorage.myCity_id}).then(res=>{
        if(page==1){
          this.listAll[2] = res.data.data
          this.listAll.push({})
          this.listAll.pop()
        }else{
          this.listAll[2] = this.listAll[2].concat(res.data.data)
          this.listAll.push({})
          this.listAll.pop()
        }
        if(page >= res.data.last_page){
          this.isfinsh3 = true
        }
        this.loading3=false
      })
    },
    toP(id){
      this.top = this.$refs.park_d.scrollTop 
      this.$router.push({name:'proDetail',query:{id}})
    },
    toparkDetail(item){
      this.top = this.$refs.park_d.scrollTop 
      this.$router.push({name:'parkDetail1',query:{id:item.id}})
    },
    toDetail(item){
      this.top = this.$refs.park_d.scrollTop 
      this.$router.push({name:'companyDetail',query:{identification:item.identification}})
    },
    toPDetail(item){
      this.top = this.$refs.park_d.scrollTop 
      this.$router.push({name:'pDetail',query:{id:item.id}})
    },
  }
}
</script>
<style lang='scss' scoped>

.swiper-container {
  width:100%;
  margin: 20px 10px;
  height: 100%;
  overflow: hidden;
}
.swiper-slide {
  height: 230px;
}

.pro_item{
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  .pro_img{
    height: 70px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    background: rgba($color: #000000, $alpha: .1);
    img{
      height: 100%;
    }
  }
  .big{
    width: calc(100% - 8px);
    color: #333;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 8px 4px 4px;
  }
  .small{
    font-size: 12px;
    margin: 4px;
  }
  .color_s{
    color: #f93;
  }
}

.heng_ccc{
  width: 100%;
  height: 10px;
  background: #eee;
  margin: 10px 0;
}
.home{
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  .top_heng{
    width: 100%;
    height: 40px;
    background: #ff9933;
  }
  .main_div{
    width: 100%;
    border-radius: 20px 20px 0 0;
    background: #fff;
    position: relative;
    top: -20px;
  }
  .tab_item{
    width: 45%;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    text-align: center;
    position: relative;
  }
  .active_tab{
    font-weight: 600;
    color: #333;
    &::after{
      content:' ';
      position:absolute;
      width: 90px;
      height: 4px;
      background: #f93;
      left: calc(50% - 45px);
      bottom: 4px;
    }
  }
  .input_div{
    position: relative;
    width: calc(100% - 74px);
    margin-right: 4px;
    .select_div{
      position: absolute;
      top: 42px;
      width: 100%;
      max-height: 180px;
      border: 1px solid #ccc;
      border-top: none;
      border-radius: 0 0 8px 8px;
      padding: 5px 0;
      overflow: auto;
      background: rgba($color: #fff, $alpha: .5);
      div{
        padding: 5px 40px;
      }
    }
    input{
      height: 42px;
      border-radius: 6px;
      padding-left: 40px;
      width: 100%;
      background: rgba($color: #000, $alpha: 0.05);
      border: 1px solid rgba($color: #fff, $alpha: .5);
      font-size: 15px;
      color: #333;
    }
    img{
      position: absolute;
      left: 14px;
      height: 16px;
      top: 12px;
    }
  }
  .ss_div{
    width: calc(100% - 40px);
    margin: 14px 20px;
    .ss_btn{
      width: 70px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      background: #f93;
      color: #fff;
      border-radius: 4px;
    }
  }
  .ss_hot{
    margin: 0px 20px 20px;
    .xie_text{
      color: rgb(190, 0, 0);
      font-weight: 600;
      font-size: 16px;
      font-style: italic;
    }
    .hot_item{
      margin-right: 10px;
      color: #888;
    }
  }
  .btn_div{
    padding: 0 10px;
    margin-bottom: 15px;
    .btn_item{
      width: 24%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  }
  .iconimg{
    width: 50px;
    height: 50px;
    border-radius: 25px;
    overflow: hidden;
    margin: 14px 0 10px;
  }
  .img{
    width: 26px;
    margin: 12px;
  }
  .img0{
    background: rgb(68, 187, 127);
  }
  .img1{
    background: rgb(15, 110, 187);
  }
  .img2{
    background: rgb(209, 66, 47);
  }
  .img3{
    background: #f93;
  }
  .img7{
    background: rgb(68, 187, 127);
  }
  .img6{
    background: rgb(15, 110, 187);
  }
  .img5{
    background: rgb(209, 66, 47);
  }
  .img4{
    background: #f93;
  }
}
.title{
  font-weight: 600;
  font-size: 18px;
  color: #333;
  margin: 10px 20px;
}
.chain_item{
  width: 25%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  .chain_img{
    width: 36px;
    height: 36px;
    border-radius: 4px;
    margin: 10px 0;
    background: #fff;
    img{
      width: 100%;
      margin: 0;
    }
  }
  .chain_name{
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.project_div{
  position: relative;
  padding-top: 10px;
  .item{
    position: relative;
    width: calc(50% - 20px);
    margin: 0 10px;
    margin-bottom:18px;
    .img{
      width:100%;
      height: 100px;
      border-radius: 6px;
      margin: 0;
      object-fit: cover;
    }
  }
  .city_name{
    position: absolute;
    top:8px;
    left: -5px;
    padding: 5px;
    font-size: 14px;
    background: #FA6400;
    border-radius: 4px;
    color: #fff;
  }
  .park_name{
    height: 22px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 22px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 5px;
  }
  .see_div{
    position: relative;
    width: 100%;
  }
  .see{
    display: flex;
    color: #fff;
    font-size: 12px;
    position: absolute;
    left: 0px;
    bottom: 6px;
    width: 100%;
    padding: 2px 8px;
    border-radius: 0 0 6px 6px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 0 0 14rpx 14rpx;
    align-items: center;
  }
  .see_img{
    width: 14px;
    margin-right: 2px;
  }
  .m_left{
    margin-left: 10px;
  }
  .add{
    display: flex;
    justify-content: space-between;
    color: #999999;
    font-size: 12px;
    padding-right: 5px;
    margin-top: 5px;
    align-items: center;
  }
  .add_item{
    display: flex;
    align-items: center;
  }
  .now{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.more{
  position: absolute;
  right: 20px;
  top: 2px;
  height: 24px;
  line-height: 24px;
  border-radius: 12px;
  border: 1px solid #666;
  padding: 0px 4px;
}
.chain_list{
  max-height: 240px;
  overflow-y: auto;
}



.navbar {
  /*分类*/
  width: 100%;
  height: 36px;
  line-height: 36px;
  // position: sticky;
  // top: 0;
  z-index: 10;
  background-color: #fff;
  box-shadow: 0 2px 3px 0 rgba($color: #000000, $alpha: .3);
  padding-bottom: 10px;
}
.is_fixed{
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
}
.current {
	font-size: 16px;
	font-weight: 800;
	color: #f93;
}
.item_p{
	// width: calc(100% - 68px);
	margin: 10px 22px;
	background: #FFFFFF;
		box-shadow: 0px 2px 2px 2px rgba(191, 191, 191, 1);
	border-radius: 6px;
	display: flex;
	padding: 12px;
	position: relative;
	img{
		width: 36px;
		height: 36px;
		margin-right: 8px;
	}
	.score{
		position: absolute;
		right: 10px;
		font-size: 10px;
		color: #333;
	}
	.name1{
		width: 100%;
	}
	.name{
		font-size: 14px;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #333;
		line-height: 21px;
	}
	.info{
		font-size: 12px;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #999999;
		line-height: 17px;
	}
}
.score1{
	position: absolute;
	right: 10px;
	font-size: 12px;
	color: #333;
}
.userinfo{
	position:fixed;
	bottom:0;
	z-index:1000;
	display:flex;
	align-items:center;
	background:#ff9933;
	color:#fff;
	padding:15px 20px;
	width:calc(100% - 40px);
	box-shadow: 0 -2px 2px 0 rgba(0,0,0,0.2);
	.img{
		width:42px;
		height:42px;
		border-radius:21px;
		margin-right:20px;
	}
	.btn{
		position:absolute;
		right:30px;
		border-radius:4px;
		padding:4px 8px;
		background:#fff;
		color:#ff9933;
	}
	.img1{
		position:absolute;
		right:0;
		top:-5px;
		height:18px;
		width:18px;
	}
}
.phone_div{
	position: fixed;
	z-index: 100;
	left: 10px;
	width: calc(100% - 20px);
	height: 80px;
	bottom: 80px;
	border-radius: 4px;
	background-color: #EDEDEF;
	display: flex;
	align-items: center;
	.phone_img{
		width: 60px;
		height: 60px;
		border-radius: 30px;
		margin-left: 20px;
		margin-right: 14px;
	}
	.phone_t{
		.phone_t1{
			font-size: 17px;
			font-weight: 800;
			color: #1d1d1b;
			margin-bottom: 4px;
		}
		.phone_t2{
			font-size: 13px;
			color: #333;
		}
	}
	.phone_btn{
		background-color: #05C160;
		color: #fff;
		width: 100px;
		line-height: 36px;
		height: 36px;
		font-size: 16px;
		border-radius: 3px;
		position: absolute;
		right: 20px;
	}
	.img1{
		position:absolute;
		right:-6px;
		top:-6px;
		height:18px;
		width:18px;
	}
}


.list_item{
  width: calc(100% - 20px);
  margin: 10px 10px;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  .item_logo{
    max-width: 60px;
    min-width: 60px;
    img{
      width: 100%;
      height: 56px;
      border-radius: 8px;
    }
  }
  .big_t{
    font-size: 16px;
    color: #111;
  }
  .small_t{
    font-size: 14px;
    margin:4px 0;
    img{
      width: 20px;
      position: relative;
      top: 4px;
    }
    .biao_div{
      background: #ff9933;
      color: #fff;
      font-size: 12px;
      height: 14px;
      border-radius: 2px;
      padding: 1.5px 4px;
      margin-left: 4px;
    }
  }
  .info_div{
    width: calc(100% - 130px);
  }
  .fen_div{
    width: 50px;
    color: rgb(209, 0, 0);
    font-size: 14px;
  }
}
.xx_info{
  font-size: 13px;
  margin-top: 10px;
}
  .news_list{
    // height: calc(100% - 40px);
    // overflow-y: auto;
    background: #f3f3f3;
    padding-top:1px;
  }
  .none_img{
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
  }
  .is_fixed{
     width: 100%;
     position: fixed;
     top: 0;
     z-index: 999;
}
.list_ddd{
  height: calc(100% - 40px);
  width: 100%;
  overflow-y: auto;
}
.back{
	position:absolute;
	left: 4px;
	top: 7px;
	height: 32px !important;
	width: 32px !important;
	z-index: 1000;
}
</style>

